
TEMPLATE = app
include(../common.pri)
CONFIG += \
		warn_on \
		qt \
		thread \
		exceptions \
		rtti

#POST_TARGETDEPS += ../out-linux/libgjpeg2kjasper.a
#POST_TARGETDEPS += ../out-win32/libgjpeg2kj2kcodec.a


contains( PLATFORM, linux ){
    LIBS += \
      -lfakecamera \
      -lgjpeg2kjasper \
      -ljasper
}

contains( PLATFORM, win32 ){
    LIBS += -lwsock32 \
	     -lgjpeg2kj2kcodec
	    
  LIBS += ../out-win32/j2k-codec.lib
  LIBS += ../out-win32/j2k-codec.dll
}

HEADERS       = imageviewer.h
SOURCES       = imageviewer.cpp \
                main.cpp

